A=[1  2  4  0 0; 0  1  3  -2  0];
A(1,:)=A(1,:)-A(1,2)/A(2,2)*A(2,:)